package yf.mall.service;

import yf.mall.entity.MaterialEntity;
import yf.mall.vo.MaterialVo;
import com.yf.service.BaseService;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * 爆款素材Service接口
 *
 * @author hxf
 * @email 505860922@qq.com
 * @date Sat Oct 17 14:55:42 CST 2020
 */
public interface MaterialService extends BaseService<MaterialEntity> {

    /************自动生成**************/
    List<MaterialVo> findVo(MaterialVo vo);

        MaterialVo getVo(Long id);

     int updateVo(MaterialVo vo);

       int saveVo(MaterialVo vo);

    void downLoad(HttpServletResponse response, List<MaterialVo> list);

    /***********BACK***********/




    /***********API***********/
    List<MaterialEntity> apiFindAll(Long shopId,String goodsName);

    List<MaterialEntity> findByUserIdOrGoodsName(Long userId,String goodsName);

}
